def formattedTarget = ""
def count = 0

formatTarget.toString().split("\\s+").each
{
	formattedTarget += it+' '
	count++
	if (7 == count)
	{
		formattedTarget = formattedTarget.trim()+'\n'
		count = 0
	}
}

return formattedTarget
